package com.sfpay.merchant.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sfpay.merchant.auth.entity.system.SysOperLog;

import java.util.List;

/**
 * <p>
 * 操作日志记录 Mapper 接口
 * </p>
 *
 * @author fangchen
 * @since 2022-07-14
 */
public interface SysOperLogMapper extends BaseMapper<SysOperLog> {

    /**
     * 查询系统操作日志集合
     *
     * @param operLog 操作日志对象
     * @return 操作日志集合
     */
    List<SysOperLog> selectOperLogList(SysOperLog operLog);

    int deleteOperLogByIds(String[] toStrArray);

    SysOperLog selectOperLogById(Long operId);

    /**
     * 清空操作日志
     */
    public void cleanOperLog();
}
